<%--
  Created by IntelliJ IDEA.
  User: hejiahao
  Date: 2021/12/17
  Time: 10:22
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String mainUserName = "";
    mainUserName = (String) session.getAttribute("mainUserName");
    System.out.println("<h2>mainUserName:" + mainUserName + "</h2>");

	String mainState = "";
	mainState = (String) session.getAttribute("mainState");
    System.out.println("<h2>mainState:" + mainState + "</h2>");

    session.invalidate();
%>
<html>
<head>
    <title>Login successful</title>
</head>
<body>
<h1>Login successful</h1><br>
<a href="list.jsp"><input type="submit" value="List"></a><br><br>
<a href="delete.jsp"><input type="submit" value="Delete"></a><br><br>
<a href="insert.jsp"><input type="submit" value="Insert"></a><br><br>
<a href="index.jsp"><input type="submit" value="Back"></a><br>

</body>
</html>
